﻿@using OF.Component.DTO
@using OF.Utility
@model  List<ExpressTemplateDto>

<div class="box-body table-responsive no-padding">
    <table class="table table-hover body-table-head">
        <thead>
            <tr>
                <th>
                    模版ID
                </th>
                <th>
                    模版名称
                </th>
                <th>
                    快递公司
                </th>
                <th>
                    快递费用
                </th>
                <th>
                    备注说明
                </th>
                <th class="t_c">
                    操作
                </th>
            </tr>
        </thead>
        <tbody id="dataView" data-count="@ViewBag.outCount">
            @foreach (var item in Model)
            {
                <tr>
                    <td>@item.ExpressFeeTplID</td>
                    <td>@item.TemplateName</td>
                    <td>@item.ExpressCompanyName</td>
                    <td>@item.ExpressFee</td>
                    <td>@item.Remark</td>
                    <td class="t_c">
                        <button type="button" class="btn btn-info btn-xs" onclick="edit('@item.ExpressFeeTplID')">编辑</button>
                        <button type="button" class="btn btn-danger btn-xs" onclick="del('@item.ExpressFeeTplID')">删除</button>
                    </td>
                </tr>
            }
        </tbody>
    </table>
</div>
@if (Model.Count <= 0)
{
    <div class="no-data" id="nodata">
        <div class="img-box"></div>
        <div class="text">暂无数据</div>
    </div>
}
<div class="box-footer clearfix ">
    <ul id="pagination" class="pagination pagination-sm no-margin pull-right"></ul>
</div>




